<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
</head>
<body>
<input type="button" value="第一页" onclick="first();">
<input type="button" value="上一页" onclick="previous();">
第
<select onchange="sel(this)">
<c:forEach begin="1" end="${totalPage}" var="i">
	<option ${currentPage==i?'selected':''}>${i}</option>
</c:forEach>
</select>
页
<input type="button" value="下一页" onclick="next();">
<input type="button" value="最后页" onclick="last();">
</body>
</html>